package com.qingke.OMS.Command.Imp;

import java.util.ArrayList;
import java.util.List;

import com.qingke.OMS.Command.Command;
import com.qingke.OMS.Dao.GoodsDao;
import com.qingke.OMS.Pojo.Goods;

public class checkAllGoodsCommand implements Command {

	@Override
	public void execute() {

		GoodsDao gdao = new GoodsDao();
		List<Goods> goods = new ArrayList<>();
		goods = gdao.getAllGoods();
		for (Goods gs : goods) {
			System.out.println(gs);
		}

	}

}
